#include "MsgWebPage.h"

MsgWebPage::MsgWebPage(QObject *parent)
	: QWebEnginePage(parent)
{
}

MsgWebPage::~MsgWebPage()
{
}

bool MsgWebPage::acceptNavigationRequest(const QUrl & url, NavigationType type, bool isMainFrame)
{
	if (url.scheme() == "qrc")
	{
		return true;
	}

	return false;
}
